package com.googlecode.economini.converter;

import org.xml.sax.Attributes;

public interface TokenFactory<T extends Enum<?>> {

  /**
   * Parse the input of a token String and return the corresponding token.
   */
  public abstract Token<T> fromElement(String element, Attributes attributes);

}